/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package org.icad.dao;

import javax.ejb.LocalBean;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import org.icad.entity.EstadoCivil;

/**
 *
 * @author Gabriel Bran gbran.u@gmail.com
 */
@Stateless
@LocalBean
public class EstadoCivilDAO extends AbstractFacade<EstadoCivil, Integer>{

    @PersistenceContext(unitName = "icadPU")
    private EntityManager entityManager;

    public EstadoCivilDAO() {
        super(EstadoCivil.class);
    }

    @Override
    protected EntityManager getEntityManager() {
        return entityManager;
    }

}